package com.ticket.sass.provider.business;


import com.ticket.sass.provider.dto.output.admin.AdminInfoOutput;
import com.ticket.sass.provider.dto.output.admin.AdminListOutput;
import com.ticket.sass.provider.dto.input.admin.AdminAddInput;
import com.ticket.sass.provider.dto.input.admin.AdminListInput;
import com.ticket.sass.provider.dto.input.admin.AdminLoginInput;
import com.ticket.sass.provider.dto.input.admin.AdminUpdInput;
import com.ticket.sass.provider.service.PageModel;
import com.ticket.sass.provider.util.TokenModel;

/**
 * @author ywb
 * @date 2021-11-25 18:16
 */
public interface AdminBusiness {
    PageModel<AdminListOutput> list(AdminListInput input);

    void add(AdminAddInput input);

    void upd(AdminUpdInput input);

   TokenModel login(AdminLoginInput input);
    
    AdminInfoOutput info();
}
